<extend name="Index:index" />
    <block name="nav1">
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Admin</a>
            </li>
            <li class="active">用户管理</li>
        </ul><!-- .breadcrumb -->
    </block>

    <block name="nav2">
        <h1>
        用户管理
            <small>
                <i class="icon-double-angle-right"></i>
                信息查询
            </small>
        </h1>
    </block>
    <block name="main">
        <div class="row">
            <div class="col-xs-12">
                <table class="table auser">
                    <thead>
                        <tr>
                            <th>id</th>
                            <th>name</th>
                            <th>sex</th>
                            <th>tel</th>
                            <th>email</th>
                            <!-- <th>所属角色</th> -->
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <volist name="admin_list" id="v">
                            <tr>
                                <td><{$v.id}></td>
                                <td><{$v.name}></td>
                                <td><if condition="$v.sex eq '0'">女<else />男</if></td>
                                <td><{$v.tel}></td>
                                <td><{$v.email}></td>
                               <!--  <td>
                                    <volist name="v.role" id="role">
                                    <span style="color:#999"><{$role}></span>
                                    &nbsp;
                                    </volist>
                                </td> -->
                                <td>
                                    <a href="<{:U('Auser/edit',array('id'=>$v['id']))}>" class="btn btn-primary btn-sm a">修改</a>
                                    <a href="<{:U('Auser/see',array('id'=>$v['id']))}>" class="btn btn-danger btn-sm a">查看拥有权限</a>
                                    <a href="<{:U('Auser/rolelist',array('id'=>$v['id']))}>" class="btn btn-info btn-sm a">角色分配</a>

                                </td>
                            </tr>
                        </volist>
                    </tbody>

                </table>
            </div>
        </div>
    </block>



     <tr >
                    <!-- <td colspan="2"></td> -->
                    <td><span><{$rname}></span></td>
                    <!-- <td style="display:none" class="awaw"><{$v.id}></td> -->
                    <!-- <td colspan="2"><img src="__PUBLIC__<{$v.cimg}>"></td> -->
                    <td><span><{$v.name}></span></td>
                    <td><span ><{$remark}></span></td>
                    <!-- <td style="overflow:auto;"  class="tt"><{$v.article}></td> -->
                   <!--  <td>
                    <?php if($v['cover'] == 1): ?>
                       <button class="btn btn-primary tu btn1">商学院新闻</button>
                    <?php else: ?>
                        <?php if($v['cover'] == 2): ?>
                            <button class="btn btn-success tu" >轮播图新闻</button>
                        <?php endif ?>
                        <?php if($v['cover'] == 3): ?>
                            <button class="btn btn-warning tu" >成长计划</button>
                        <?php endif ?>
                        
                    <?php endif ?>
                    </td> -->
                    <!-- <td></td> -->
                    <!-- <td >
                    <div class="jj"></div>
                    <button class="btn btn-danger tu didi"  onclick="del(<{$v['id']}>,this)" >删除</button><br>

                    <a href="<{:U('News/n_content',array('id'=>$v['id']))}>"><button class="btn btn-info tu">查看新闻内容</button></a>
                    </td> -->
                </tr>